package Others.DesignPattern.TemplatePattern.Pattern.Object;

public class TestPaper {

    public void TestQuestion1() {
        System.out.println("Question1: What is the capital of China?");
        System.out.println("A. Beijing");
        System.out.println("B. Shanghai");
        System.out.println("C. Tianjin");
        System.out.println("D. Chengdu");
        System.out.println("Your answer: " + Answer1());
    }


    public void TestQuestion2() {
        System.out.println("Question2: What is the capital of Japan?");
        System.out.println("A. Tokyo");
        System.out.println("B. Osaka");
        System.out.println("C. Kyoto");
        System.out.println("D. Hiroshima");
        System.out.println("Your answer: " + Answer2());
    }


    public void TestQuestion3() {
        System.out.println("Question3: What is the capital of USA?");
        System.out.println("A. Washington");
        System.out.println("B. New York");
        System.out.println("C. Chicago");
        System.out.println("D. Los Angeles");
        System.out.println("Your answer: " + Answer3());
    }

    public String Answer1() {
        return "";
    }

    public String Answer2() {
        return "";
    }

    public String Answer3() {
        return "";
    }

    public void showQuestion() {
        TestQuestion1();
        TestQuestion2();
        TestQuestion3();
    }

}
